package com.zcy.auth.mapper;

import com.zcy.auth.domain.Menu;
import com.zcy.basic.mapper.BaseMapper;

import java.io.Serializable;
import java.util.List;

/**
 * <p>
 * 菜单 Mapper 接口
 * </p>
 *
 * @author lucker
 * @since 2023-12-03
 */
public interface MenuMapper extends BaseMapper<Menu> {

    List<Menu> queryMenuTreeByEmployeeId(Serializable id);

    List<Menu> getParentMenus(Serializable id);

    List<Menu> getTree();
}
